package com.itheima.domain;

public class Student {
    private Integer sid;
    private String name;
    private Integer age;
    private Integer score;

    public Integer getSid(int i) {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "学号：" + sid +", 姓名：" + name +", 年龄：" + age +", 成绩：" + score;
    }
}
